<?php
    #-------------------------------------------------------------#
	# This file is part of the Kumomado - Virtual Window Platform #
	# for PHP. (c) 2009 Tsai, Min Che <tirme0812@gmail.com>       #
	# Please visit http://www.kumomado.org/ for more information. #
	#                                                             #
	# This software is licensed under the GNU License v3. Please  #
	# view the LICENSE file for the full text of this license.    #
    #-------------------------------------------------------------#

	/**
	 * @package libraries/route/
	 * @author Tsai, Min Che
	 * @version 1.0
	 */
	class KumomadoWebRoute extends KumomadoAbstractRoute {
		public function execute() {
			Kumomado::load('Web.KumomadoWeb');
			$page = isset($_GET['page']) ? $_GET['page'] : 'Index';
			$action = isset($_GET['action']) ? $_GET['action'] : 'Index';
			$web = new KumomadoWeb($page, $action);
			$web->execute();
		}
	}
?>